package com.whmnx.my.ui.base;



import androidx.fragment.app.Fragment;

import com.whmnx.my.ui.fragment.BodouFragment;
import com.whmnx.my.ui.fragment.BodouFragment2;
import com.whmnx.my.ui.fragment.BodouFragment3;

import java.util.ArrayList;
import java.util.List;

/**
 * Create Author：goldze
 * Create Date：2019/01/25
 * Description：ViewPager+Fragment的实现
 * @author Administrator
 */

public class ViewPagerGroupFragment extends BasePagerFragment {
    @Override
    protected List<Fragment> pagerFragment() {
        List<Fragment> list = new ArrayList<>();
        list.add(new BodouFragment());
        list.add(new BodouFragment2());
        list.add(new BodouFragment3());
        return list;
    }

    @Override
    protected List<String> pagerTitleString() {
        List<String> list = new ArrayList<>();
        list.add("兑换播豆包");
        list.add("我的播豆包");
        list.add("历史播豆包");
        return list;
    }
}
